<template>
  <div class="goods">
    <GoodsItem
      v-for="item in goods"
      :key="item.acm"
      :goodsItem="item"
    ></GoodsItem>
  </div>
</template>

<script>
import GoodsItem from './GoodsItem.vue'
export default {
  props: {
    goods: Array
  },
  components: {
    GoodsItem
  }
}
</script>

<style scoped>
.goods {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}
</style>
